package com.my12306.train.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.my12306.train.model.vo.StatisticsVo;
import com.my12306.train.model.vo.TotalStatisticsVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 车厢表
 *
 * @author ËÕÄÁÏ¦
 * @email
 * @date 2020-07-24 20:58:07
 */
@Mapper
public interface StatisticsDao extends BaseMapper<StatisticsVo> {
    List<StatisticsVo> queryChartsParams();
    List<StatisticsVo> queryFiveRoutes();
    List<StatisticsVo> queryFiveStations();
    List<StatisticsVo> queryTenStations();
    List<TotalStatisticsVo> queryTotalStatistics();
    List<StatisticsVo> queryOneRouteData(@Param("routeId") Long routeId);
    List<StatisticsVo> queryOneStationData(@Param("startStation") String startStation);
}
